package com.rd.p2p.mobile.user;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;

import com.opensymphony.xwork2.ModelDriven;
import com.qdlc.p2p.biz.web.action.BaseAction;
import com.qdlc.p2p.dal.dto.UserBaseInfo;

/**
 * 用户基本信息
 * 
 * @author wuhuan
 */
public class MobileUserBaseInfoAction extends BaseAction<UserBaseInfo> implements ModelDriven<UserBaseInfo> {

	/**
	 * 获取个人信息
	 * 
	 * @throws Exception
	 */
	@Action(value = "/mobile/usercenter/memberInfo", results = {
			@Result(name = "detail", type = "ftl", location = "/mobile/member/info/detail.html") })
	public String memberInfo() throws Exception {
		return "detail";
	}

	@Action(value = "/mobile/usercenter/main", results = {
			@Result(name = "main", type = "ftl", location = "/mobile/member/main.html") })
	public String main() throws Exception {
		return "main";
	}
}
